projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3f0cdc
)
Fix a segfault in gtk_assistant_set_current_page
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 23 Feb 2010 16:16:04 +0000
(11:16 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 23 Feb 2010 16:16:04 +0000
(11:16 -0500)
Reported by Tadej Borovšak in bug 610184
gtk/gtkassistant.c
patch
|
blob
|
history
diff --git
a/gtk/gtkassistant.c
b/gtk/gtkassistant.c
index e7be4212ea4fcff600e2994d0b5bcaebf97495f0..daec0cfe5de468aec43ad8b4c6a7f85fcd945d0d 100644
(file)
--- a/
gtk/gtkassistant.c
+++ b/
gtk/gtkassistant.c
@@
-1554,7
+1554,7
@@
gtk_assistant_set_current_page (GtkAssistant *assistant,
if (page_num >= 0)
page = (GtkAssistantPage *) g_list_nth_data (priv->pages, page_num);
else
- page = (GtkAssistantPage *) g_list_last (priv->pages);
+ page = (GtkAssistantPage *) g_list_last (priv->pages)
->data
;
g_return_if_fail (page != NULL);